package com.onstar.cn.mag;

import java.util.List;

/**
 * Created by kai zhang on 2015/12/14.
 */

// "weeklyCommuteSchedule": {
// "dailyCommuteSchedule": [
// {
// "dayOfWeek": "MON",
// "departTime": "07:00:00"
// },
// {
// "dayOfWeek": "TUE",
// "departTime": "07:00:00"
// },
// {
// "dayOfWeek": "WED",
// "departTime": "07:00:00"
// },
// {
// "dayOfWeek": "THU",
// "departTime": "07:00:00"
// },
// {
// "dayOfWeek": "FRI",
// "departTime": "07:00:00"
// },
// {
// "dayOfWeek": "SAT",
// "departTime": "07:00:00"
// },
// {
// "dayOfWeek": "SUN",
// "departTime": "07:00:00"
// }
// ]
// }

public class CommuteScheduleEntity {
	private WeekCommuteSchedule weeklyCommuteSchedule;

	public CommuteScheduleEntity() {

	}

	public CommuteScheduleEntity(WeekCommuteSchedule weeklyCommuteSchedule) {
		this.weeklyCommuteSchedule = weeklyCommuteSchedule;
	}

	public WeekCommuteSchedule getWeeklyCommuteSchedule() {
		return weeklyCommuteSchedule;
	}

	public void setWeeklyCommuteSchedule(WeekCommuteSchedule weeklyCommuteSchedule) {
		this.weeklyCommuteSchedule = weeklyCommuteSchedule;
	}

	@Override
	public String toString() {
		return super.toString();
	}

	public static class WeekCommuteSchedule {
		public WeekCommuteSchedule() {

		}

		public WeekCommuteSchedule(List<DailyCommuteSchedule> dailyCommuteSchedule) {
			this.dailyCommuteSchedule = dailyCommuteSchedule;
		}

		private List<DailyCommuteSchedule> dailyCommuteSchedule;

		public List<DailyCommuteSchedule> getDailyCommuteSchedule() {
			return dailyCommuteSchedule;
		}

		public void setDailyCommuteSchedule(List<DailyCommuteSchedule> dailyCommuteSchedule) {
			this.dailyCommuteSchedule = dailyCommuteSchedule;
		}

	}

	public static class DailyCommuteSchedule {
		private String dayOfWeek;
		private String departTime;

		public String getDayOfWeek() {
			return dayOfWeek;
		}

		public void setDayOfWeek(String dayOfWeek) {
			this.dayOfWeek = dayOfWeek;
		}

		public String getDepartTime() {
			return departTime;
		}

		public void setDepartTime(String departTime) {
			this.departTime = departTime;
		}

		@Override
		public String toString() {
			// TODO Auto-generated method stub
			return super.toString();
		}
	}
}
